package com.teacher.pojo.enums;

public enum NoticeType {
    /**
     * 菜单的状态
     */
    DOWN(10, "下架"), UP(20, "上架");
    private String type;
    private Integer code;

    NoticeType(Integer code, String type) {
        this.type = type;
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
